package com.gljx.web.service;

import com.gljx.web.Entity.SimulationQuargentry;
import com.gljx.web.Entity.User;

import java.util.List;

public interface SimulationQuargentryService {
	/**
	 * 根据父类id查询模拟考合格登记明细
	 * @param fid
	 * @return
	 */
	List<SimulationQuargentry> selectSimulationQuargentryByParentid(String fid,String studentName);
	/**
	 * 根据父类id增加模拟考合格登记明细
	 * @param record
	 * @return
	 */
	int addSimulationQuargentry(SimulationQuargentry simulationQuargentry);
	/**
	 * 根据父类id删除子类
	 * @param parentid
	 * @return
	 */
	int deleteByParentId(String parentid, User user);
	
	/**
	 * 根据fid查找模拟考合格登记明细
	 * @param fid
	 * @return
	 */
	SimulationQuargentry selectByPrimaryKey(String fid);
}
